package com.springboot.mybatis.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import lombok.extern.slf4j.Slf4j;

@Controller
@Slf4j
public class HelloController {
 
    @ResponseBody
    @RequestMapping("/hello")
    public String hello(){
    	log.info("/hello");
        return "springboot-mybatis-example";
    }
}